package main

import (
	"log"
	"net/http"
	"web02/router"
)

func main() {
	server := http.Server{
		Addr:    ":8082",
		Handler: router.Router,
	}

	if err := server.ListenAndServe(); err != nil {
		log.Fatal("系统启动失败" + err.Error())
	}
}
